package org.summer.lawyer.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.summer.common.mybatis.core.mapper.BaseMapperPlus;
import org.summer.lawyer.domain.LawFirm;
import org.summer.lawyer.domain.vo.lawfirm.LawFirmVo;

/**
 * 
 * 
 * 
 */
@Mapper
public interface LawFirmMapper extends BaseMapperPlus<LawFirm, LawFirmVo> {

    Page<LawFirmVo> selectPageList(@Param("page") Page<LawFirm> page, @Param(Constants.WRAPPER) Wrapper<LawFirm> queryWrapper);

    LawFirmVo selectLawFirmVoByOrderId(@Param("orderId") Long orderId);

}